package com.example.entity;

public class Host {
    private int family_id;
    private int user_id;
    private String family_name;
    private String description;
    private String service_types;
    private String location;
private User user;
private String env;
private double price;
    private Integer application_id;
    private String status; // 新增字段

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Host{" +
                "family_id=" + family_id +
                ", user_id=" + user_id +
                ", family_name='" + family_name + '\'' +
                ", description='" + description + '\'' +
                ", service_types='" + service_types + '\'' +
                ", location='" + location + '\'' +
                ", user=" + user +
                ", env='" + env + '\'' +
                ", price=" + price +
                ", application_id=" + application_id +
                ", status='" + status + '\'' +
                '}';
    }

    public Integer getApplication_id() {
        return application_id;
    }

    public void setApplication_id(Integer application_id) {
        this.application_id = application_id;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getEnv() {
        return env;
    }

    public void setEnv(String env) {
        this.env = env;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getFamily_id() {
        return family_id;
    }

    public void setFamily_id(int family_id) {
        this.family_id = family_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getFamily_name() {
        return family_name;
    }

    public void setFamily_name(String family_name) {
        this.family_name = family_name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getService_types() {
        return service_types;
    }

    public void setService_types(String service_types) {
        this.service_types = service_types;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
}
